/* 监测页面特定样式 */
.monitor-sidebar {
    width: 300px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.parameter-list {
    margin-bottom: 2rem;
}

.parameter-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin: 0.5rem 0;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.parameter-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.parameter-item.active {
    background: #2c3e50;
    color: white;
}

.param-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.param-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.param-value {
    font-weight: bold;
}

/* 控制面板样式 */
.monitor-controls {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.control-group {
    margin: 1rem 0;
}

.control-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
}

.control-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f8f9fa;
}

/* 主要内容区样式 */
.monitor-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 数据概览卡片样式 */
.data-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.overview-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.overview-item h4 {
    color: #666;
    margin-bottom: 0.5rem;
}

.overview-item div {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

/* 图表区域样式 */
.chart-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-controls {
    display: flex;
    gap: 0.5rem;
}

.btn-chart-type {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-chart-type.active {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.main-chart {
    height: 400px;
    width: 100%;
    min-width: 300px;
    transition: all 0.3s ease;
}

/* 数据表格样式 */
.data-table-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background: #f8f9fa;
    color: #2c3e50;
    font-weight: 500;
}

.data-table tbody tr:hover {
    background: #f8f9fa;
}

/* 趋势箭头样式 */
.trend-up {
    color: #e74c3c;
}

.trend-down {
    color: #2ecc71;
}

.trend-stable {
    color: #3498db;
} 